package kr.saeildamil.project.secretary;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.StringTokenizer;

public class CurrentTime {
	public String currenttime;
	public String currentHour;
	public String currentMinute;
	
	public CurrentTime() {
		init();
	}
	private void init() {
		Date date=new Date();
		SimpleDateFormat sdf=new SimpleDateFormat("hh"+":"+"mm");
		currenttime=sdf.format(date);
		StringTokenizer st = new StringTokenizer(currenttime, ":");
		currentHour = st.nextToken();
		currentMinute = st.nextToken();
	}
}
